<template>
	<div>
		<ul>
			<li v-for="message in messageArr" :key="message.id">
				<router-link :to="{name:'xiangqing'}">{{message.title}}</router-link>&nbsp;&nbsp;
			</li>
		</ul>
		<hr>
		<router-view></router-view>
	</div>
</template>

<script>
	export default {
		name:'HomeMessage',
		data() {
			return {
				messageArr:[
					{id:'001',title:'消息001'},
					{id:'002',title:'消息002'},
					{id:'003',title:'消息003'},
				]
			}
		},
	}
</script>